package behavior.state;

/**
 * 定义一个boss
 *
 * @author ykr
 * @date 2022/4/6
 */
public class Boss {

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 生命值
	 */
	private double life;

	/**
	 * 防御力
	 */
	private double def;

	public Boss() {
	}

	public Boss(String name, double life, double def) {
		this.name = name;
		this.life = life;
		this.def = def;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getLife() {
		return life;
	}

	public void setLife(double life) {
		this.life = life;
	}

	public double getDef() {
		return def;
	}

	public void setDef(double def) {
		this.def = def;
	}

}
